package com.yuyou.fn.report.service;

import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.report.entity.RealIncomeOfClass;
import com.yuyou.fn.report.vo.*;

import java.util.Date;
import java.util.List;

/**
 *
 * RealIncomeOfClass 表数据服务层接口
 *
 */
public interface IRealIncomeOfClassService extends ISuperService<RealIncomeOfClass,String> {


    List<RealIncomeOfClass> findRealIncomeOfClassByBusTeamIdGradeSubjectIds(Long busTeamId, List<String> gradeSubjectIds , Date start , Date end );

    List<RealIncomeOfClass> findRealIncomeOfClassByBusTeamIdProductIds(Long busTeamId, List<Long> productIds , Date start , Date end  );


    List<RealIncomeOfClass>  findRealIncomeOfClassByBusTeamIdsProductIds(List<Long> busTeamIds, List<Long> productIds , Date startDate , Date endDate );

    List<RealIncomeOfClass>  findRealIncomeOfClassByBusTeamIdsGradeIdsSubjectIds(List<Long> busTeamIds, List<Long> gradeIds ,List<Long> subjectIds, Date startDate , Date endDate,String ...columns );

    List<TimeAmountVo> findClassTimeAmount(RealIncomeClassQueryVo realIncomeClassQueryVo);

    List<ProductIncomeVo> findProductIncome(RealIncomeClassQueryVo realIncomeClassQueryVo);

    List<GradeSubjectIncomeVo> findGradeSubjectIncome(RealIncomeClassQueryVo realIncomeClassQueryVo);

    List<ClassAmountVo> findClassAmount(RealIncomeClassQueryVo realIncomeClassQueryVo);

}